<div class="container gcBackground">
	<img src="image/activity/14_diyRedPacket/banner.png" alt="">
	<div class="zq-container">
		<h3 class="gq_title">当前可定制{{redPacket.yhqName}}<span>{{redPacket.limitCount?redPacket.limitCount:(redPacket.limitCount==0?"0":"?")}}</span>个</h3>
		<div class="srk">
			<input class="" id="amount" type="tel" ng-model="diyMoney" placeholder="请输入您想投资的金额" value="">		
			<span ng-show="redPacket.errShow" class="errShow">{{redPacket.errContent}}</span>
		</div>
		<div class="tzedsm">{{redPacket.minAmount}}元≤投资金额≤{{redPacket.maxAmount}}元，且需是{{redPacket.minAmount}}的整数倍</div>
		<div class="hblist">
			<div class="lists gc_unselect" ng-repeat="(index,item) in redPacket.rewards" ng-click="hbSelect(item.id,item.minProductTime,index,$event)">
				<i></i>
				<p class="yhq_name">
					<img src="image/activity/14_diyRedPacket/dd_03.png" alt="">
					专属{{redPacket.yhqName}}
					<img src="image/activity/14_diyRedPacket/dd_03.png" alt="">
				</p>
				<p ng-class="{'yhq_money':true, 'm_font':redPacket.font}">
					<span>{{redPacket.result[index].incrRateOrAmount ? (redPacket.result | zqFilter:item.id):"?"}}</span>{{redPacket.couponType==1?"元":"%"}}
				</p>
				<p class="yhq_rule">
					满{{diyMoney=="" ? "?" : diyMoney}}元可用<br>
					项目期限≥{{item.minProductTime}}天
				</p>
			</div>
		</div>
		<div class="sendBtn">
			<button ng-class="{'act':redPacket.isact}" ng-click="sendRed()">领取{{redPacket.yhqName}}</button>
		</div>
	</div>
	<img src="image/activity/14_diyRedPacket/hdgz_02.png" alt="">
	<img src="image/activity/14_diyRedPacket/hdgz_03.png" alt="">
	<img src="image/activity/14_diyRedPacket/hdgz_04.png" alt="">
	<img style="display:none" src="image/activity/14_diyRedPacket/select.png" alt="">
	<img style="display:none" src="image/activity/14_diyRedPacket/tBg.png" alt="">
</div>
<div ng-show="redPacket.succ" class="mask" ng-click="redPacket.succ=false">
	<div class="animated fadeIn" style="width:90%;height:49%;position: absolute;top: 46%;left: 50%;transform: translate(-50%,-50%)">
		<div class="gc_tc">
			<h3 class="title">您的专属{{redPacket.yhqName}}已生成!</h3>
			<p>赶紧去“我的优惠券”中查看吧</p>
			<div class="gc_btn" ng-click="gc_go()">
				
			</div>
			<div class="gc_close" ng-click="redPacket.succ=false">
				<img src="image/activity/14_diyRedPacket/tClose.png" alt="">
			</div>
		</div>
	</div>
</div>
<div ng-show="redPacket.gc_chance" class="mask" ng-click="redPacket.gc_chance=false">
	<div class="animated fadeIn" style="width:70%;height:45%;position: absolute;top: 46%;left: 50%;transform: translate(-50%,-50%)">
		<div class="gc_nc">
			<img src="image/activity/14_diyRedPacket/nohb.png" alt="">
			<h3 class="title">你已经没有定制机会了，赶紧去使用已定制的红包吧~</h3>
			<div class="gc_btn" ng-click="gc_go()"></div>
		</div>
		<div class="gc_cclose" ng-click="redPacket.gc_chance=false">
			<img src="image/activity/14_diyRedPacket/tClose.png" alt="">
		</div>
	</div>
</div>



